<?php

class WebUser extends CWebUser
{
	/**
	 * Automatic generated for user
	 * @var string
	 */
//	public $username;
	protected function changeIdentity($id,$name,$states)
	{
		//Yii::app()->getSession()->regenerateID();
		$this->setId($id);
		$this->setName($name);
		$this->loadIdentityStates($states);
	}

}
